//
//  FirstViewController.h
//  TestDemo
//
//  Created by yutao on 14-2-11.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavViewController.h"

@interface FirstViewController : UIViewController<UITableViewDelegate,UITableViewDataSource>            //  UIViewController视图控制器   UITableViewDelegate，UITableViewDataSource显示tableView需要实现的协议。
{
    UIButton *startBtn;
    UIButton *endBtn;
    UIButton *showDialogBtn;
    
    UIButton *jumpBtn;
    UITableView *tableView;
}

//NSArray 集合类不可变 还有NSSet，NSDictionary
//@property(strong,nonatomic) NSArray *list;

//NSMutableArray,NSMutableSet,NSMutableDictionary 可变集合类
@property(strong,nonatomic) NSMutableArray *list;

@property(strong,nonatomic) NavViewController *navController;


@property(nonatomic,retain) IBOutlet UIButton *addBtn;     //IBoulet 定义与xib文件的视图的连接关系
@property(nonatomic,retain) IBOutlet UIButton *deleteBtn;
@property(nonatomic,retain) IBOutlet UIButton *jumpBtn;
@property(nonatomic,retain) IBOutlet UIButton *showDialogBtn;
@property(nonatomic,retain) IBOutlet UITableView *tableView;
@property(nonatomic,retain) IBOutlet UIImageView *imageView;


-(IBAction) addClick:(id)sender;                           //IBAction 定义与xib控件事件的关系

-(IBAction) deleteClick:(id)sender;

-(IBAction) showDialogClick:(id)sender;

-(IBAction) switchView:(id)sender;


@end